package com.fqgj.xjd.user.client.response;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
* User: zhangxingyun
* Date: 2017-07-20
* Time: 18:11:41.872
* TableDesc:
 * todo 2.添加customerCode属性
 *
*/
public class User implements Serializable {

    private static final long serialVersionUID = 4396238300581167303L;
    private Long id;
    /**
    *客户码
    */
    private String userCode;
    /**
    *用户手机号
    */
    private String mobile;

    private String md5Mobile;
    /**
    *姓名
    */
    private String name;
    /**
    *身份证
    */
    private String identityNo;
    /**
    *冻结状态，    FROZEN("00001", "账号冷冻"),FACE_RECONGNITION("00002","人脸识别冻结"),BORROW_REJECT("00003","借款被拒绝冷冻");
     */
    private List<UserFrozen> frozenList;

    /**
     * 用户身份，0未知，1学生，2成人
     */
    private Integer userType;

    private Date gmtCreate;

    private String customerCode;

    private Long userId;

    /**
     *app包名
     */
    private String packageName;

    public String getMd5Mobile() {
        return md5Mobile;
    }

    public User setMd5Mobile(String md5Mobile) {
        this.md5Mobile = md5Mobile;
        return this;
    }

    public Long getUserId() {
        return userId;
    }

    public User setUserId(Long userId) {
        this.userId = userId;
        return this;
    }

    public Long getId() {
        return id;
    }

    public User setId(Long id) {
        this.id = id;
        return this;
    }

    public String getUserCode() {
        return userCode;
    }

    public User setUserCode(String userCode) {
        this.userCode = userCode;
        return this;
    }

    public  String getMobile(){
        return this.mobile;
    }

    public  User setMobile(String mobile){
        this.mobile = mobile;
        return this;
    }

    public  String getName(){
        return this.name;
    }

    public  User setName(String name){
        this.name = name;
        return this;
    }

    public  String getIdentityNo(){
        return this.identityNo;
    }

    public  User setIdentityNo(String identityNo){
        this.identityNo = identityNo;
        return this;
    }

    public Integer getUserType() {
        return userType;
    }

    public User setUserType(Integer userType) {
        this.userType = userType;
        return this;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public User setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
        return this;
    }

    public List<UserFrozen> getFrozenList() {
        return frozenList;
    }

    public User setFrozenList(List<UserFrozen> frozenList) {
        this.frozenList = frozenList;
        return this;
    }

    public String getCustomerCode() {
        return customerCode;
    }

    public User setCustomerCode(String customerCode) {
        this.customerCode = customerCode;
        return this;
    }

    public String getPackageName() {
        return packageName;
    }

    public User setPackageName(String packageName) {
        this.packageName = packageName;
        return this;
    }
}
